import { createRouter, createWebHashHistory } from 'vue-router';
import StartPage from '../views/StartPage.vue'
import GamePage from '../views/GamePage.vue'
import EndPage from '../views/EndPage.vue'

const routes = [
  {
    path: '/',
    name: 'StartPage',
    component: StartPage
  },
  {
    path: '/game',
    name: 'GamePage',
    component: GamePage
  },
  {
    path: '/end',
    name: 'EndPage',
    component: EndPage
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
